
The codes need to be run by STATA16 or above

First, open "WongLiangStudy1and2multistate_prepare.do", and run the codes.

Then, open "WongLiangStudy1and2multistate_analysis.do" to generate survival model figures. 